package com.wedimob.plugins;

import java.util.Locale;

/**
 * How to configure a plugin
 * @author melouadi
 *
 */
public interface ConfigurablePlugin extends SimplePlugin {

	/**
	 * List of properties and their description.
	 * 
	 * @param locale
	 *            lang
	 * @return properties
	 */
	PluginProperties params(Locale locale);

	/**
	 * List of properties and their values.
	 * 
	 * @return properties
	 */
	PluginProperties paramsValues();

	/**
	 * Set properties values.
	 * 
	 * @param params
	 *            properties
	 */
	void setParamsValues(PluginProperties params);

}
